<%inherit file="/autohandler"/> 
<h2>
Collections
</h2>

% for coll in c.collections:
<li>
    ${ h.link_to(coll['name'], h.url_for(action="displaycollection", edit="no", id=coll['index'], name=coll['name'])) } ${coll['role']} ${coll['access']}
${ h.form(h.url_for(action='deletecollection', id=coll['index']), multipart=True) } 
Delete collection:
${ h.submit('Delete') } 
${ h.end_form() } 
</li>
% endfor

<hr>
Add new collection:
${ h.form(h.url_for(action='addcollection'), multipart=True) } 
${ h.text_field('newcollection') }
Role:${ h.text_field('role') }
Private:
<input type='checkbox' name='pri' value='private'>
${ h.submit('Add') } 
${ h.end_form() } 

